import http from "@/api";

/**
 * @name 事件查询模块
 */

// 获取员工列表
export const getEmployeeList = (params = {}) => {
  return http.post(`/employee/query`, params, { noLoading: true });
};

// 获取房间列表
export const getRoomList = (params = {}) => {
  return http.post(`/room/query`, params, { noLoading: true });
};

// 获取酒店列表
export const getHotelList = (params = {}) => {
  return http.post(`/hotel/query`, params, { noLoading: true });
};

// 获取事件列表
export const getRoomEvtList = (params = {}) => {
  return http.post(`/room/event/query`, params, { noLoading: true });
};

// 获取事件列表
export const getAuthRecordList = (params = {}) => {
  return http.post(`/room/authorized/event/query`, params, { noLoading: true });
};

// 酒店选择列表
export const getHotelSelList = (params = {}) => {
  return http.get(`/lookup/hotels`, params, { noLoading: true });
};
